﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Linq.Mapping;
namespace MRSite.Entity
{
    [Table(Name = "customer_loginerror")]
    public class CustomerLoginError : Entity
    {
        /// <summary>
        ///自增ID
        /// </summary>
        [Column(Name = "id", IsPrimaryKey = true, CanBeNull = false, IsVersion = true)]
        public override int id { get; set; }


        /// <summary>
        /// mac地址
        /// </summary>
        [Column(Name = "mac")]
        public String mac { get; set; }

        /// <summary>
        /// Ip
        /// </summary>
        [Column(Name = "ip")]
        public String ip { get; set; }

        /// <summary>
        /// 错误次数
        /// </summary>
        [Column(Name = "error_times")]
        public int error_times { get; set; }


        /// <summary>
        /// 最后登录时间
        /// </summary>
        [Column(Name = "last_error_time")]
        public DateTime? last_error_time { get; set; }


        /// <summary>
        /// 当天统计时间
        /// </summary>
        [Column(Name = "tj_time")]
        public DateTime? tj_time { get; set; }

        /// <summary>
        /// 解封时间
        /// </summary>
        [Column(Name = "jiefen_time")]
        public DateTime? jiefen_time { get; set; }

        /// <summary>
        /// 登录帐号
        /// </summary>
        [Column(Name = "username")]
        public String username { get; set; }

        /// <summary>
        ///是否锁定
        /// </summary>
        [Column(Name = "is_lock")]
        public int is_lock { get; set; }
    }
}
